package com.one.mapper;
import com.one.entity.User;
import org.junit.Test;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author windows
 */
public interface UserMapper extends MongoRepository<User,String> {
    User findByUsername(String username);
}
